<%--
  Created by IntelliJ IDEA.
  User: mozhengying
  Date: 2018/1/26
  Time: 17:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <c:forEach items="${pb.list}" var="data">
            ${data.stuname}<br>
            ${data.birthday}<br>
            <img src="upload/${data.photo}">
        </c:forEach>
        <ul>
            <li><a href="page.do?cp=1">首页</a></li>
            <li><a href="page.do?cp=${pb.prePage}">上页</a></li>
            <li><a href="page.do?cp=${pb.nextPage}">下页</a></li>
            <li><a href="page.do?cp=${pb.lastPage}">尾页</a></li>
        </ul>

</body>
</html>
